<?php
namespace app\model;  

class Exam extends Common
{
    public function searchExamnameAttr($query, $value, $data)
    {
        $query->where('examname','like', '%'.$value.'%');
    }
}
